home *** CD-ROM | disk | FTP | other *** search
/ Greenhouse Effect Detection Expriment / NASA Greenhouse Effect Detection Expriment 1992 - Disc 2.iso / software / dos / cdf22pc / src / tools / cdfdir.dos < prev    next >
Encoding:
Text File  |  1992-02-09  |  910 b   |  37 lines

  1. @echo off
  2. rem !--------------------------------------------------------------------------
  3. rem !
  4. rem !  NSSDC/CDF      Directory listing (dir) of CDF files, MS-DOS systems.
  5. rem !
  6. rem !  Version 1.1, 10-Feb-92, ST Systems (STX)
  7. rem !
  8. rem !   Modification History:
  9. rem !
  10. rem !   V1.1  10-Feb-92, J Love        Original version.
  11. rem !
  12. rem !--------------------------------------------------------------------------
  13.  
  14. if %1 == help! goto :help
  15. if not exist %1.cdf goto :noexist
  16.  
  17. dir %1.cdf
  18. if exist %1.v0 dir %1.v*
  19. goto :exit
  20.  
  21. :help
  22.   echo Usage..........> cdfdir "cdf-path"
  23.   echo .
  24.   echo Parameter(s)...cdf-path
  25.   echo .                The pathname of the CDF to for which to display a
  26.   echo .                directory listing (do not specify an extension).
  27.   echo .
  28.   echo Example(s).... > cdfdir ..\cac_sst
  29.   echo .              > cdfdir c:\cdfs\gisswetl
  30.   goto :exit
  31.  
  32. :noexist
  33.   echo No such file.
  34.   goto :exit
  35.  
  36. :exit
  37.